/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package domain.Entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 *
 * @author jorge
 */
@Entity
@Table(name = "informe")
public class EntityInforme implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "idInforme", nullable = false)
    private Long idInforme;
    @Column(name = "url", nullable = false)
    private String url;
    @Column(name = "nombre", nullable = false)
    private String nombre;
    @Column(name = "tipo", nullable = false)
    private String tipo;
    @Column(name = "subtipo", nullable = false)
    private String subtipo;
    @ManyToOne
    private EntityUsuario eu;

    public EntityUsuario getEu() {
        return eu;
    }

    public void setEu(EntityUsuario eu) {
        this.eu = eu;
    }

    
    
    

    public String getSubtipo() {
        return subtipo;
    }

    public void setSubtipo(String subtipo) {
        this.subtipo = subtipo;
    }

    public String getTipo() {
        return tipo;
    }

    public void setTipo(String tipo) {
        this.tipo = tipo;
    }
    

    
    
    public Long getIdInforme() {
        return idInforme;
    }

    public void setIdInforme(Long idInforme) {
        this.idInforme = idInforme;
    }

    public String getNombre() {
        return nombre;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    
    
}
